<form method=post>
<input type=hidden name=a value=settings>
<input type=hidden name=action value=save>
<table cellspacing=0 cellpadding=2 border=0>
<tr>
 <td colspan=2><b>Main settings:</b><br><br></td>
</tr>
<tr>
 <td>Site Name:</td>
 <td><input type=text name=site_name value='<?php echo quote ($settings['site_name']);?>' class=inpts size=30></td>
</tr>
<tr>
 <td>Site URL:</td>
 <td><input type=text name=site_url value='<?php  echo quote ($settings['site_url']);?>' class=inpts size=30></td>
</tr>
<tr>
 <td>Site URL Alt:</td>
 <td><input type=text name=site_url_alt value='<?php echo quote ($settings['site_url_alt']);?>' class=inpts size=30></td>
</tr>
<tr>
 <td>System E-Mail:</td>
 <td><input type=text name=system_email value='<?php echo quote ($settings['system_email']);?>' class=inpts size=30></td>
</tr>
<tr>
 <td colspan=2>&nbsp;<br><b>Administrator login & LR settings:</b></td>
</tr>
<tr>
 <td>Login:</td>
 <td><input type=text name=admin_login value='<?php echo quote ($settings['admin_login']);?>' class=inpts size=30></td>
</tr>
<tr>
 <td>Password:</td>
 <td><input type=password name=admin_password value='<?php echo quote ($settings['admin_password']);?>' class=inpts size=30></td>
</tr>
<tr>
 <td>Admin E-mail:</td>
 <td><input type=text name=admin_email value='<?php echo quote ($settings['admin_email']);?>' class=inpts size=30></td>
</tr>
<tr>
<td>Admin LR Account:</td>
 <td><input type=text name=admin_lr_account value='<?php echo quote ($settings['admin_lr_account']);?>' class=inpts size=30></td>
</tr>
<tr>
	<td>Admin PM Account:</td>
 	<td><input type=text name=admin_pm_account value='<?php echo quote ($settings['admin_pm_account']);?>' class=inpts size=30></td>
</tr>
<tr>
	<td>Admin PM Account Name:</td>
 	<td><input type=text name=admin_pm_name value='<?php echo quote ($settings['admin_pm_name']); ?>' class=inpts size=30></td>
</tr>
<tr>
	<td>Admin Yahoo IM Account:</td>
 	<td><input type=text name=admin_ym_account value='<?php echo quote ($settings['admin_ym_account']);?>' class=inpts size=30></td>
</tr>
<tr>
 <td>Show E-currency Tips:</td>
 <td>
  <select name=ecurrency class=inpts>
  	<option value=1 <?php echo ($settings['ecurrency'] == 1 ? 'selected' : '');?>>Yes</option>
  	<option value=0 <?php echo ($settings['ecurrency'] == 0 ? 'selected' : '');?>>No</option>
  </select>
 </td>
</tr>
<tr>
 <td>Show Aleax Rank:</td>
 <td>
  <select name=alexa class=inpts>
  	<option value=1 <?php echo ($settings['alexa'] == 1 ? 'selected' : '');?> >Yes</option>
  	<option value=0 <?php echo ($settings['alexa'] == 0 ? 'selected' : '');?> >No</option>
  </select>
 </td>
</tr>
<tr>
 <td colspan=2>

</tr>
<tr>
 <td colspan=2>&nbsp;<br><b>Other settings:</b></td>
</tr>
<tr>
 <td>Double opt-in during the new listing addition:</td>
 <td>
  <select name=listing_confirmation_require class=inpts>
  	<option value=1 <?php echo ($settings['listing_confirmation_require'] == 1 ? 'selected' : '');?>>Yes</option>
  	<option value=0 <?php echo ($settings['listing_confirmation_require'] == 0 ? 'selected' : '');?>>No</option>
  </select>
 </td>
</tr>
<tr>
 <td>Notify Administrator of the new listing addition:</td>
 <td>
  <select name=notify_about_addition class=inpts>
  	<option value=1 <?php echo ($settings['notify_about_addition'] == 1 ? 'selected' : '');?>>Yes</option>
  	<option value=0 <?php echo ($settings['notify_about_addition'] == 0 ? 'selected' : '');?>>No</option>
  </select>
 </td>
</tr>
<tr>
 <td>Double opt-in during the voting:</td>
 <td> 
  <select name=vote_confirmation_require class=inpts>
  	<option value=1 <?php echo ($settings['vote_confirmation_require'] == 1 ? 'selected' : '');?>>Yes</option>
  	<option value=0 <?php echo ($settings['vote_confirmation_require'] == 0 ? 'selected' : '');?> >No</option>
  </select>
 </td>
</tr>
<tr>
 <td>New Listing period:</td>
 <td>
 	<input type=text name=new_for_days value='<?php echo quote ($settings['new_for_days']);?>' class=inpts size=30 />
 </td>
</tr>
<tr>
 <td>\'New\' page period:</td>
 <td>
 	<input type=text name=new_page_for_days value='<?php echo quote ($settings['new_page_for_days']);?>' class=inpts size=30>
 </td>
</tr>
<tr>
 <td>Traffic period:</td>
 <td>
 	<input type=text name=traffic_count_days value='<?php echo quote ($settings['traffic_count_days']);?>' class=inpts size=30>
 </td>
</tr>
<tr>
 <td>Payment Systems:</td>
 <td>
 	<input type=text name=payments value='<?php echo quote ($settings['payments']);?>' class=inpts size=30>
 </td>
</tr>
<tr>
 <td>News Count:</td>
 <td>
 	<input type=text name=last_news_count value='<?php echo quote ($settings['last_news_count']);?>' class=inpts size=30>
 </td>
</tr>
<tr>
 <td colspan=2>
  <?php echo start_info_table ('100%');?>

  <b>Double opt-in during the new listing addition</b>: Select \'yes\' if a user should confirm the addition. E-mail with the confirmation code will be sent to the user when he adds a listing (you can change the e-mail template in the E-mail Templates section).<br>
	<b>Notify Administrator about the new listing addition</b>: if it\'s set to \'yes\' you will receive an e-mail message to \'Administrator E-Mail\' a';
  	echo 'ddress about the new listing addition.<br>
	<b>Double opt-in during the voting</b>: if it\'s set to \'yes\' a visitor must confirm his vote. E-mail with the confirmation code will be sent to the visitor when he votes (you can change the e-mail template in the E-mail Templates section).<br>
	<b>New Listing period</b>: listing will be marked as new and will be shown in \'New Listings\' section for the specified ';
  echo 'period.<br>
	<b>\'New\' page period</b>: listing will be shown on \'New\' page for the specified period.<br>
	<b>Traffic period</b>: listings traffic will be used for listing and sorting for the specified period.<br>
	<b>Payment Systems</b>: you can change payment systems that are shown for a listing. You should upload the images to the \'images\' folder with payment systems\' names (case sensitive) with \'gif\' exten';
  echo 'sion. It appears in payments systems list in the listing.<br>
	The system uses this string \'LibertyReserve,PerfectMoney,SolidTrustPay,StrictPay,ECUMoney,GlobalDigitalPay,V-Money,C-Gold,Webmoney,E-Gold,Paypal,Pecunix,AlertPay,EuroPay,WesternUnion,EVOWal\' by default <br>
	<b>News Count:</b>: the latest news number that are shown in the \'News\' section.
  <?php echo end_info_table ();?>
</tr>
<tr>

 <td>&nbsp;</td>

 <td><input type=submit value='Save' class=sbmt></td>

</tr></table>

</form>

